package us.icitap.cm.ui.custom;


import us.icitap.cm.interfaces.VisualCustomization;
import us.icitap.cm.utils.ToUpperCaseConverter;

import com.vaadin.ui.TextArea;

public class CustTextArea  extends TextArea implements VisualCustomization{

	public CustTextArea() {
		super();
		_init();
	}

	public CustTextArea(String caption) {
		
		super(caption);
		_init();
	}

	@Override
	public void _init() {
		this.setNullRepresentation("");
		this.setConverter(new ToUpperCaseConverter());
		this.setWidth("20em");
		this.addStyleName("cust");
		
	}


	
}
